<template>
	<view class="content">
		<uni-list-chat class="vm-chunk" title="保养计划" avatar="../../../static/images/workbench-02.png" note="您好您收到一条新的保养计划" time="2025-01-12 23:20" badge-positon="left" badge-text="dot"></uni-list-chat>
		<uni-list-chat class="vm-chunk" title="巡检计划" avatar="../../../static/images/workbench-02.png" note="您好您收到一条新的巡检计划" time="2025-01-12 23:20" badge-positon="left" badge-text="dot"></uni-list-chat>
		<uni-list-chat class="vm-chunk" title="报修计划" avatar="../../../static/images/workbench-02.png" note="您好您收到一条新的报修计划" time="2025-01-12 23:20" badge-positon="left" badge-text="dot"></uni-list-chat>
	</view>
</template>

<script>
	import {getMyMessage} from '../../../api/message/message.js'
  export default {
	data() {
		return {
			dataList:[]
		}
	},
    onLoad: function() {
		this.messageApi()
    },
	methods:{
		messageApi(){
			getMyMessage().then(res=>{
				if(res.code===200){
					this.dataList = res.data
				}
			})
		}
		
	}
  }
</script>
<style lang="scss">
  .content {
	 padding: 0 3%;
	 box-sizing: border-box;
	  .vm-chunk{
		  border-radius: 8rpx;
		  margin-top: 20rpx;
		
	  }
  }
</style>